﻿/*
=======================================================
    SurfaceStatus【表面状态】
=======================================================
*/

namespace Services
{
    public interface ISurfaceStatusLogic : ILogic<SurfaceStatusModel, SurfaceStatusFilterModel>
    {
        int UpdateIsDelete(bool flag, params int[] ids);
    }


    public class SurfaceStatusLogic : BaseLogic<SurfaceStatusModel, SurfaceStatusFilterModel, SurfaceStatus, ISurfaceStatusRepository, ISurfaceStatusMapping, ISurfaceStatusService>, ISurfaceStatusLogic
    {
        public SurfaceStatusLogic(ICurrentUser currentUser, ISurfaceStatusRepository repository, ISurfaceStatusMapping mapping, ISurfaceStatusService service)
            : base(currentUser, repository, mapping, service)
        {
        }

        #region 启用/禁用  UpdateIsDelete
        public int UpdateIsDelete(bool flag, params int[] ids)
        {
            return _repository.UpdateIsDelete(flag, ids);
        }
        #endregion
        
    }
}
